package tools

import (
	"crypto/sha256"
	"encoding/hex"
)

//sha256运算
func Sha256Encoding(b []byte) string {
	m := sha256.New()
	m.Write(b)
	return hex.EncodeToString(m.Sum(nil))
}
